﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HRM.Entity;
using HRM.DAL;

namespace HRM.BIZ
{
    public class PositionBiz:BaseBiz
    {
        public List<Position> GetAll()
        {
            return new PositionDAL().GetAll();
        }

        public Position GetByID(int ID)
        {
            return new PositionDAL().GetByID(ID);
        }

        public Position Add(Position position)
        {
            return new PositionDAL().Add(position);
        }

        public void Delete(int ID)
        {
            new PositionDAL().Delete(ID);
        }

        public Position Update(Position position)
        {
            return new PositionDAL().Update(position);
        }
    }
}
